﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C1F RID: 3103
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumRandomEventSelectCsReq : IMessage<MuseumRandomEventSelectCsReq>, IMessage, IEquatable<MuseumRandomEventSelectCsReq>, IDeepCloneable<MuseumRandomEventSelectCsReq>, IBufferMessage
	{
		// Token: 0x17002721 RID: 10017
		// (get) Token: 0x06008AC7 RID: 35527 RVA: 0x0017169D File Offset: 0x0016F89D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumRandomEventSelectCsReq> Parser
		{
			get
			{
				return MuseumRandomEventSelectCsReq._parser;
			}
		}

		// Token: 0x17002722 RID: 10018
		// (get) Token: 0x06008AC8 RID: 35528 RVA: 0x001716A4 File Offset: 0x0016F8A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumRandomEventSelectCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002723 RID: 10019
		// (get) Token: 0x06008AC9 RID: 35529 RVA: 0x001716B6 File Offset: 0x0016F8B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumRandomEventSelectCsReq.Descriptor;
			}
		}

		// Token: 0x06008ACA RID: 35530 RVA: 0x001716BD File Offset: 0x0016F8BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventSelectCsReq()
		{
		}

		// Token: 0x06008ACB RID: 35531 RVA: 0x001716C5 File Offset: 0x0016F8C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventSelectCsReq(MuseumRandomEventSelectCsReq other) : this()
		{
			this.dDCGDKHHPAK_ = other.dDCGDKHHPAK_;
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008ACC RID: 35532 RVA: 0x001716F6 File Offset: 0x0016F8F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventSelectCsReq Clone()
		{
			return new MuseumRandomEventSelectCsReq(this);
		}

		// Token: 0x17002724 RID: 10020
		// (get) Token: 0x06008ACD RID: 35533 RVA: 0x001716FE File Offset: 0x0016F8FE
		// (set) Token: 0x06008ACE RID: 35534 RVA: 0x00171706 File Offset: 0x0016F906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DDCGDKHHPAK
		{
			get
			{
				return this.dDCGDKHHPAK_;
			}
			set
			{
				this.dDCGDKHHPAK_ = value;
			}
		}

		// Token: 0x17002725 RID: 10021
		// (get) Token: 0x06008ACF RID: 35535 RVA: 0x0017170F File Offset: 0x0016F90F
		// (set) Token: 0x06008AD0 RID: 35536 RVA: 0x00171717 File Offset: 0x0016F917
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x06008AD1 RID: 35537 RVA: 0x00171720 File Offset: 0x0016F920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumRandomEventSelectCsReq);
		}

		// Token: 0x06008AD2 RID: 35538 RVA: 0x0017172E File Offset: 0x0016F92E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumRandomEventSelectCsReq other)
		{
			return other != null && (other == this || (this.DDCGDKHHPAK == other.DDCGDKHHPAK && this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008AD3 RID: 35539 RVA: 0x0017176C File Offset: 0x0016F96C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DDCGDKHHPAK != 0U)
			{
				num ^= this.DDCGDKHHPAK.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008AD4 RID: 35540 RVA: 0x001717C4 File Offset: 0x0016F9C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008AD5 RID: 35541 RVA: 0x001717CC File Offset: 0x0016F9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008AD6 RID: 35542 RVA: 0x001717D8 File Offset: 0x0016F9D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DDCGDKHHPAK != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DDCGDKHHPAK);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008AD7 RID: 35543 RVA: 0x00171834 File Offset: 0x0016FA34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DDCGDKHHPAK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DDCGDKHHPAK);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008AD8 RID: 35544 RVA: 0x0017188C File Offset: 0x0016FA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumRandomEventSelectCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DDCGDKHHPAK != 0U)
			{
				this.DDCGDKHHPAK = other.DDCGDKHHPAK;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008AD9 RID: 35545 RVA: 0x001718DC File Offset: 0x0016FADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008ADA RID: 35546 RVA: 0x001718E8 File Offset: 0x0016FAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.EventId = input.ReadUInt32();
					}
				}
				else
				{
					this.DDCGDKHHPAK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400350C RID: 13580
		private static readonly MessageParser<MuseumRandomEventSelectCsReq> _parser = new MessageParser<MuseumRandomEventSelectCsReq>(() => new MuseumRandomEventSelectCsReq());

		// Token: 0x0400350D RID: 13581
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400350E RID: 13582
		public const int DDCGDKHHPAKFieldNumber = 3;

		// Token: 0x0400350F RID: 13583
		private uint dDCGDKHHPAK_;

		// Token: 0x04003510 RID: 13584
		public const int EventIdFieldNumber = 7;

		// Token: 0x04003511 RID: 13585
		private uint eventId_;
	}
}
